#pragma once

#include <QWidget>
#include "CommonUtils.h"
#include "EmotionLabelItem.h"
#include <QGridLayout>
#include <QStyle>
#include <QStyleOption>

namespace Ui { class EmotionWindow; };

class EmotionWindow : public QWidget
{
	Q_OBJECT

public:
	EmotionWindow(QWidget *parent = Q_NULLPTR);
	~EmotionWindow();

protected:
	virtual void paintEvent(QPaintEvent *event)override;

private slots:
	void addEmotion(int num);

signals:
	void signalEmotionItemClicked(int);
	void signalEmotionWindowHide();

private:
	Ui::EmotionWindow *ui;

	void initControl();
};
